System.Xml.XmlDocument doc = new System.Xml.XmlDocument();
doc.Load(otherAppConfig);
System.Xml.XmlElement element =
doc.SelectSingleNode("/configuration/appSettings/add[@key='Var1']")
as System.Xml.XmlElement;
if (element != null)
{
string attributeValue = element.GetAttribute("value");
...
}
Νατάσα Μανουσοπούλου